package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.Job;


import cn.jobstart.enums.JobShowFlagEnum;
import cn.jobstart.enums.JobDelFlagEnum;
import cn.jobstart.enums.JobNextFlagEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:52
*    @description JobDesc      职位名称
*/
@Data
public class JobDesc extends Job {


    private String showFlagDesc;
    private String delFlagDesc;
    private String nextFlagDesc;

    public String getShowFlagDesc() {
        showFlagDesc=JobShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=JobDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getNextFlagDesc() {
        nextFlagDesc=JobNextFlagEnum.getDescByType(getNextFlag());
        return nextFlagDesc;
    }
}

